package com.kk.goGame.mapper;

import com.kk.goGame.entity.User;

import java.awt.*;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author kk
 * @since 2023-02-14
 */
public interface UserMapper {
    Integer insertUser(User user);

    User checkColumn(String column,Object value);

    int updatePassword(String newPassword, String username);

    Integer updateScore(Integer uid, Integer score);

    Map<String,Integer> tongjiSex();

    List<User> tongjiScore();
}
